package com.jy.rhin.model;


import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.model.body.zhuanzhenjl.*;
import com.jy.rhin.model.header.LegalAuthenticator;
import lombok.Getter;
import lombok.Setter;

/**
 * 转诊记录
 */
@Getter
@Setter
public class ZhuanZhenJL extends ClinicalDocumentData {

    @XPath(path = "/legalAuthenticator")
    private LegalAuthenticator legalAuthenticator;

    @XPath(path = "/participant")
    private ZhuanZhenParticipant participant;

    //诊断
    @XPath(path = "/component/structuredBody/component/section/entry/organizer")
    private ZhenDuanJL zhenDuan;

    //实验室检查检验
    @XPath(path = "/component/structuredBody/component/section/code[@code='30954-2'][@codeSystem='2.16.840.1.113883.6.1']/..")
    private ShiYanShiJCJY shiYanShiJCJY;

    //用药
    @XPath(path = "/component/structuredBody/component/section/code[@code='10160-0'][@codeSystem='2.16.840.1.113883.6.1']/..")
    private YongYao yongYao;

    //手术
    @XPath(path = "/component/structuredBody/component/section/code[@code='47519-4'][@codeSystem='2.16.840.1.113883.6.1']/..")
    private ShouShu shouShu;

    //医学处置
    @XPath(path = "/component/structuredBody/component/section/code[@code='DE06.00.087.00']/../text")
    private String yiXueCZ;

    //既往史
    @XPath(path = "/component/structuredBody/component/section/code[@code='11348-0'][@codeSystem='2.16.840.1.113883.6.1']/..")
    private JiWangShi jiWangShi;

    //转诊建议
    @XPath(path = "/component/structuredBody/component/section/code[@code='18776-1'][@codeSystem='2.16.840.1.113883.6.1']/..")
    private ZhuanZhenJY zhuanZhenJY;

    //治疗计划
    @XPath(path = "/component/structuredBody/component/section/entry/observation/code[@code='DE01.00.159.00']/../value/text()")
    private String zhiLiaoJH;

    //健康指导
    @XPath(path = "/component/structuredBody/component/section/entry/observation/code[@code='DE06.00.066.00']/../value/text()")
    private String jianKangZD;
}
